<?php
$url=$_SERVER['HTTP_REFERER'];
setcookie("user_id","");
setcookie("user_name","");
echo "<script>location='$url';</script>";

?>
